#ifndef EXCEPTIONS_HPP_INCLUDED
#define EXCEPTIONS_HPP_INCLUDED

#include <exception>
#include <string>

namespace game
{
	struct error : std::exception
	{
		std::string message;

		error() : message() {}
		error(const std::string& msg) : message(msg) {}
		~error() throw() {}

		const char* what() const throw()
		{
			return messsage.c_str();
		}
	};
}

#endif
